package com.cloudkinto.dao;

import com.cloudkinto.entity.StockPickUpDetailDo;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.cloudkinto.extentity.stock.BatchPickUpDto;
import com.cloudkinto.extentity.stock.StockPickUpDetailDto;
import com.cloudkinto.extentity.stock.StockPickUpRackDto;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 * Mapper 接口
 * </p>
 *
 * @author zhujiale
 * @since 2022-12-23
 */
@Mapper
public interface StockPickUpDetailDao extends BaseMapper<StockPickUpDetailDo> {
    List<StockPickUpDetailDto> getPickDetail(Long id, Long orderOutputId);

    List<StockPickUpRackDto> getPickUpRackList(Long pickUpId, Long orderId, Long productId);

    List<BatchPickUpDto> getPickDetailByOrderIds(@Param("orderIds") List<Long> orderIds);

}
